<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="${beanPackage}.model">
	<class name="${beanName}" table="${tableName}">
		<id name="id" type="java.lang.Long">
            <column name="ID" precision="20" scale="0" />
            <generator class="sequence" >
            	<param name="sequence">${sequence}</param>
            </generator>
        </id>
        <#list properties as p>
    	<property name="${p.propertyName}" type="${p.propertyTypeName}">
			<column name="${p.columnName}"/>
		</property>
		</#list>
	</class>
</hibernate-mapping>